HAL DCACHE constants migration

This section provides information about the HAL DCACHE constants migration.

HAL DCACHE status flags constants

HAL1

HAL2

#define DCACHE_FLAG_BUSY
#define DCACHE_FLAG_BUSYCMD
#define DCACHE_FLAG_BUSYEND
#define DCACHE_FLAG_CMDEND
#define DCACHE_FLAG_ERROR
#define LL_DCACHE_SR_ERRF
#define LL_DCACHE_SR_BUSYF
#define LL_DCACHE_SR_CMDENDF
#define LL_DCACHE_SR_BSYENDF
#define LL_DCACHE_SR_BUSYCMDF

Related concept: Define statements and enumerations redirected to LL equivalents


HAL DCACHE interrupt identifiers constants

HAL1

HAL2

#define DCACHE_IT_BUSYEND
#define DCACHE_IT_ERROR
#define DCACHE_IT_CMDEND
#define LL_DCACHE_IER_BSYENDIE
#define LL_DCACHE_IER_ERRIE
#define LL_DCACHE_IER_CMDENDIE

Related concept: Define statements and enumerations redirected to LL equivalents


HAL DCACHE monitoring flags constants

HAL1

HAL2

#define DCACHE_MONITOR_ALL
#define DCACHE_MONITOR_READ_HIT
#define DCACHE_MONITOR_READ_MISS
#define DCACHE_MONITOR_WRITE_HIT
#define DCACHE_MONITOR_WRITE_MISS
#define HAL_DCACHE_MONITOR_ALL
#define HAL_DCACHE_MONITOR_READ_HIT
#define HAL_DCACHE_MONITOR_READ_MISS
#define HAL_DCACHE_MONITOR_WRITE_HIT
#define HAL_DCACHE_MONITOR_WRITE_MISS

Related concept: Add HAL_PPP Prefix to All HAL Peripheral APIs (Defines, Macros, Types, and Functions).


HAL DCACHE read burst configurations constants

HAL1

HAL2



#define DCACHE_READ_BURST_INCR
#define DCACHE_READ_BURST_WRAP
typedef enum
{
  HAL_DCACHE_READ_BURST_INCR,
  HAL_DCACHE_READ_BURST_WRAP
} hal_dcache_read_burst_t;

Related concepts:


HAL DCACHE error codes constants

HAL1

HAL2

#define HAL_DCACHE_ERROR_NONE

#define HAL_DCACHE_ERROR_EVICTION_CLEAN

#define HAL_DCACHE_ERROR_TIMEOUT

#define HAL_DCACHE_ERROR_INVALID_CALLBACK

#define HAL_DCACHE_ERROR_INVALID_OPERATION

#define HAL_DCACHE_ERROR_NONE

#define HAL_DCACHE_ERROR_EVICTION_CLEAN

Removed; instead the corresponding function will explicitly return HAL_ERROR in this scenario.


Removed; instead the corresponding function will explicitly return HAL_INVALID_PARAM in this scenario.


Removed; instead the corresponding function will be intercepted by ASSERT_DBG_STATE in this scenario.

Related concepts: